<%@page contentType="text/html; charset=utf-8"%>
<%@include file="../components/components.jsp" %>
<script type="text/javascript">
	$(document).ready(function() {
		displayUser();
	});
	function displayUser(){
		$("#cnname_span").html(cNName);
		$("#positionname_span").html(positionName);
		$("#online_span").html(onliners);
		$("#logintime_span").html(loginTime);
		
	}
	function destroy(){
		alert(webContext);
		jQuery.post(webContext + "/login/destroy.do",function(str){
		});
	}
</script>
<div id="top">
	<div id="backstage_lg"></div>
       <div id="backstage_name">假日烤吧</div>
       <div id="name_text">当前用户：<span id="cnname_span"></span>&nbsp;&nbsp;&nbsp;&nbsp;用户身份：<span id="positionname_span"></span> &nbsp;&nbsp;&nbsp;&nbsp;当前在线人数：<span id="online_span"></span>人&nbsp;&nbsp;&nbsp;<a href="#" onclick="destroy();"><span>注销</span></a></div>
       <div id="txt">登录时间：<span id="logintime_span"></span></div>
</div>
      
